<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        img{
            width: 200px;
            vertical-align: baseline;
            /*基线对齐*/
            /*vertical-align: top;*/
            /*vertical-align: middle;*/
            /*vertical-align: bottom;*/
        }
        .box{
            border: 5px solid red;
            width: 250px;
            height: 300px;
            overflow: auto;
            /*溢出的方向显示拖拽条*/
        }
    </style>
</head>
<body>
bjsg <img src="img/1.png" alt="">
<div class="box">
    <img src="img/1.png" alt="">
    <img src="img/1.png" alt="">
    <img src="img/1.png" alt="">
    <img src="img/1.png" alt="">
    <img src="img/1.png" alt="">
</div>
</body>
</html>